<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>知识产权交易平台</title>
    <link href="/ip/Public/css/bootstrap.min.css" rel="stylesheet">
    <link href="/ip/Public/css/mystyle.css" rel="stylesheet">

</head>

<body >
    <!-- 导航栏 -->
    <div class="container">
    <nav class="navbar navbar-default">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <a class="navbar-brand" href="#">
                    
                </a>
            </div>
            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li><a href="/ip/Home/Index/index">主页</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">专利市场<span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="/ip/Home/Info/allInfo/type/1">查看全部专利</a></li>
                            <li role="separator" class="divider"></li>
                            <?php if(is_array($cateList1)): $i = 0; $__LIST__ = $cateList1;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$a): $mod = ($i % 2 );++$i;?><li><a href="/ip/Home/Info/allInfo/type/1/ctype/<?php echo ($a["id"]); ?>"><?php echo ($a["cate_name"]); ?></a></li><?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">商标市场<span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="/ip/Home/Info/allInfo/type/2">查看全部商标</a></li>
                            <li role="separator" class="divider"></li>
                            <?php if(is_array($cateList2)): $i = 0; $__LIST__ = $cateList2;if( count($__LIST__)==0 ) : echo "暂无数据" ;else: foreach($__LIST__ as $key=>$a): $mod = ($i % 2 );++$i;?><li><a href="/ip/Home/Info/allInfo/type/2/ctype/<?php echo ($a["id"]); ?>"><?php echo ($a["cate_name"]); ?></a></li><?php endforeach; endif; else: echo "暂无数据" ;endif; ?>
                        </ul>
                    </li>
                    <li><a href="/ip/Home/Page/help">帮助中心</a></li>
                    <li><a href="/ip/Home/Page/connection">联系我们</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <?php if(isset($_SESSION['nickname'])): ?><a href="/ip/Home/User/login">欢迎:<?php echo (session('nickname')); ?></a>
                            <?php else: ?>
                            <a href="/ip/Home/User/login">登录</a><?php endif; ?>
                    </li>
                    <li>
                        <?php if(isset($_SESSION['nickname'])): ?><a href="/ip/Home/User/logout">退出</a>
                            <?php else: ?>
                            <a href="/ip/Home/User/register">注册</a><?php endif; ?>
                    </li>
                    <li><a href="/ip/Home/Release/index">发布信息</a></li>
                </ul>
                <form class="navbar-form navbar-right" role="search" method="get" action="/ip/Home/Info/searchInfo/" >
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="Search" name="keyword" required>
                    </div>
                    <button type="submit" class="btn btn-default">查询</button>
                </form>
            </div>
            <!-- /.navbar-collapse -->
        </div>
        <!-- /.container-fluid -->
    </nav>
</div>
<!-- Mainly scripts -->
<script src="/ip/Public/js/jquery-2.1.1.js"></script>
<script src="/ip/Public/js/bootstrap.min.js"></script>
    <!-- 轮播 -->
    <div class="container">

        <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
            <!-- Indicators -->
            <ol class="carousel-indicators">
                <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
                <li data-target="#carousel-example-generic" data-slide-to="1"></li>
                <li data-target="#carousel-example-generic" data-slide-to="2"></li>
            </ol>
            <!-- Wrapper for slides -->
            <div class="carousel-inner" role="listbox">
                <div class="item active">
                    <img src="/ip/Public/img/home/carousel/02.png" alt="..." style="height:345px">
                    <div class="carousel-caption">
                        专注知识产权交易。
                    </div>
                </div>
                <div class="item">
                    <img src="/ip/Public/img/home/carousel/01.png" alt="..." style="height:345px">
                    <div class="carousel-caption">
                        我们只做最好的知识产权。
                    </div>
                </div>
                <div class="item">
                    <img src="/ip/Public/img/home/carousel/03.png" alt="..." style="height:345px">
                    <div class="carousel-caption">
                        商标,专利。
                    </div>
                </div>
            </div>
            <!-- Controls -->
            <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </a>
        </div>
    </div>
    <!-- 专利市场 -->
    <div class="container">
        <h3 style="color: #6A9BBB; font-family: 黑体; font-weight: bold;">专利市场</h3>
        <a class="btn btn-default btn-sm pull-right" href="/ip/Home/Info/allInfo/type/1">
            <span class="glyphicon glyphicon-repeat"></span> More
        </a>
        <br>
        <hr style="border-width: 3px medium medium; border-style: double none none; border-color: #6A9BBB currentColor currentColor; border-image: none; height: 3px;">
    </div>
    <div class="container">
        <div class="row">
            <div class = "col-xs-1"></div>
            <?php if(is_array($typeList1)): foreach($typeList1 as $key=>$item): ?><div class="col-xs-2">
                    <div class="thumbnail">
                        <a href="/ip/Info/showInfo/id/<?php echo ($item["id"]); ?>" class="thumbnail">
                            <img class="img-thumbnail" alt="Cinque Terre" width="304" height="236" src="/ip/Public/img/info_ico/<?php echo ($item["picurl"]); ?>" alt="...">
                        </a>
                        <div class="caption">
                            <h5><?php echo ($item["ip_name"]); ?></h5>
                            <p>参考价格:￥<?php echo ($item["price"]); ?></p>
                            <a href="/ip/Home/Page/connection" class="btn btn-sm btn-success btn-block" role="button">联系我们&nbsp&nbsp<span class="glyphicon glyphicon-envelope"></span></a>
                        </div>
                    </div>
                </div><?php endforeach; endif; ?>
        </div>
        <div class="row">
            <div class = "col-xs-1"></div>
            <?php if(is_array($typeList2)): foreach($typeList2 as $key=>$item): ?><div class="col-xs-2">
                    <div class="thumbnail">
                        <a href="/ip/Home/Info/showInfo/id/<?php echo ($item["id"]); ?>" class="thumbnail">
                            <img src="/ip/Public/img/info_ico/<?php echo ($item["picurl"]); ?>" alt="...">
                        </a>
                        <div class="caption">
                            <h5><?php echo ($item["ip_name"]); ?></h5>
                            <p>参考价格:￥<?php echo ($item["price"]); ?></p>
                            <a href="/ip/Home/Page/connection" class="btn btn-sm btn-success btn-block" role="button">联系我们&nbsp&nbsp<span class="glyphicon glyphicon-envelope"></span></a>
                        </div>
                    </div>
                </div><?php endforeach; endif; ?>
        </div>
    </div>
    <!-- 商标市场 -->
    <div class="container">
        <h3 style="color: #6A9BBB; font-family: 黑体; font-weight: bold;">商标市场</h3>
        <a class="btn btn-default btn-sm pull-right" href="/ip/Home/Info/allInfo/type/2">
            <span class="glyphicon glyphicon-repeat"></span> More
        </a>
        <br>
        <hr style="border-width: 3px medium medium; border-style: double none none; border-color: #6A9BBB currentColor currentColor; border-image: none; height: 3px;">
    </div>
    <div class="container">
        <div class="row">
            <div class = "col-xs-1"></div>
            <?php if(is_array($typeList3)): foreach($typeList3 as $key=>$item): ?><div class="col-xs-2">
                    <div class="thumbnail">
                        <a href="/ip/Home/Info/showInfo/id/<?php echo ($item["id"]); ?>" class="thumbnail">
                            <img src="/ip/Public/img/info_ico/<?php echo ($item["picurl"]); ?>" alt="...">
                        </a>
                        <div class="caption">
                            <h5><?php echo ($item["ip_name"]); ?></h5>
                            <p>参考价格:￥<?php echo ($item["price"]); ?></p>
                            <a href="/ip/Home/Page/connection" class="btn btn-sm btn-success btn-block" role="button">联系我们&nbsp&nbsp<span class="glyphicon glyphicon-envelope"></span></a>
                        </div>
                    </div>
                </div><?php endforeach; endif; ?>
        </div>
        <div class="row">
            <div class = "col-xs-1"></div>
            <?php if(is_array($typeList4)): foreach($typeList4 as $key=>$item): ?><div class="col-xs-2">
                    <div class="thumbnail">
                        <a href="/ip/Home/Info/showInfo/id/<?php echo ($item["id"]); ?>" class="thumbnail">
                            <img src="/ip/Public/img/info_ico/<?php echo ($item["picurl"]); ?>" alt="...">
                        </a>
                        <div class="caption">
                            <h5><?php echo ($item["ip_name"]); ?></h5>
                            <p>参考价格:￥<?php echo ($item["price"]); ?></p>
                            <a href="/ip/Home/Page/connection" class="btn btn-sm btn-success btn-block" role="button">联系我们&nbsp&nbsp<span class="glyphicon glyphicon-envelope"></span></a>
                        </div>
                    </div>
                </div><?php endforeach; endif; ?>
        </div>
    </div>
    <div class="container text-center" >
    <br>
    <hr style="border-width: 3px medium medium; border-style: double none none; border-color: #6A9BBB currentColor currentColor; border-image: none; height: 3px;">
    <p>
    	知识产权交易平台© 2012 版权所有 All Rights Reserved.|粤ICP备13046622号-1<br>
		广州市龙口东路36号 电话：（+86 020）38203118 传真（+86 020）38203118转611 
    </p>
</div>
    
</body>

</html>